<h1>Listing matriculas</h1>

<table>
  <tr>
    <th>Decimal</th>
    <th>String</th>
  </tr>

<% for matricula in @matriculas %>
  <tr>
    <td><%=h matricula.decimal %></td>
    <td><%=h matricula.string %></td>
    <td><%= link_to 'Show', matricula %></td>
    <td><%= link_to 'Edit', edit_matricula_path(matricula) %></td>
    <td><%= link_to 'Destroy', matricula, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New matricula', new_matricula_path %>
